using System;
using System.Collections.Generic;
using System.Text;
using System.Data;

namespace Task.Contracts
{
    public interface IMessageTask
    {
        DataTable GetAllReceivedMessages(int UserId);

        string GetLoginOfUser(int UserId);

        string GetContOfMessage(int MessageId);

        string GetTitleOfMessage(int MessageId);

        void AddMessage(int FromUserId, int ToUserId, string topic, string content);

        void DeleteMessage(int MessageId);

        int GetNumberOfReceivedMessages(int UserId);

        int GetIdOfSender(int MsgId);

        string GetStatusOfMessage(int MessageId);

    }
}
